********************************************************************************
/* (0) Master do file for the paper "Direct and Spillover Effects of Enforcing 
Labor Standards: Evidence from Argentina" by Brian Feld. Accepted at the Journal
of Human Resources */
********************************************************************************
clear
set more off

ssc install regsave, replace
ssc install outreg2, replace
ssc install reghdfe, replace
ssc install qqvalue, replace
ssc install coefplot, replace
ssc install qqvalue, replace

*** Define the directories

global dir = "`c(pwd)'"
global data "$dir/Data"
global tables "$dir/Tables"
global figures "$dir/Figures"

capture log close
log using "$dir/Feld - Domestic workers reform.log", replace

*** Define the control group to use: blue collar workers in the service sector for main tables

global ctrl_group bluecol_service


do "$dir/(1) Figures.do"
do "$dir/(2) Table 1.do"
do "$dir/(3) Table 2.do"
do "$dir/(4) Table 3.do"
do "$dir/(5) Table 4.do"
do "$dir/(6) Tables 5 and 6.do"
do "$dir/(7) Table A1_1.do"
do "$dir/(8) Table A1_2.do"